package com.sam.chat.service;

import com.sam.chat.entity.ChatFriendDao;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sam.chat.vo.FriendVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sam
 * @since 2023-01-07
 */
public interface IChatFriendService extends IService<ChatFriendDao> {
    List<FriendVo> getFriendsList(String uid) ;
    FriendVo getFriendInfo(String uid ,String friendId);
    boolean addFriend1(String userId,String friendUsername);
    boolean addFriend2(String userId,String friendId);
    boolean checkFriendId(String uid ,String friendId);
    boolean deleteFriend(String userId,String friendId);

}
